﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace iCollect.CollectDetail
{
    public partial class DeviceInfo : UserControl
    {
        private UserAdmin userAdmin;
        private DeviceInfoConfig di;

        public DeviceInfo()
        {
            InitializeComponent();

            userAdmin = new UserAdmin();
            userAdmin.Dock = System.Windows.Forms.DockStyle.Fill;
            splitContainer1.Panel1.Controls.Add(userAdmin);

            di = new DeviceInfoConfig();
            di.Dock = System.Windows.Forms.DockStyle.Fill;
            splitContainer1.Panel2.Controls.Add(di);
        }

        public void loadDevice()
        {
            di.loadDevice();
        }
    }
}
